// function id<Type> (value: Type): Type {
//   return value
// }

const id: <Type>(value: Type) => Type = value => value
const str = id<string>('string')
const num = id<number>(123)

console.log(str, num)